package com.qcxk.yuqian.rtu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

/**
 * @auther lp
 * @create 2021-11-15 03:21:45
 * @describe 实体类
 */
@Data
public class Rtu {
    private Long id;
    private String rtuNo;
    private String rtuName;
    private String rtuType;//1-e10  2-d20s 3-hy
    private String areaId;
    /**
     * 0-离线1-在线
     */
    private Integer status;
    /**
     * 创建时间
     */
    private String ctime;
    /**
     * 逻辑删除标识
     */
    private Integer deleted; //0-正常  1-删除
    private String operator;
    private String updateTime;
    private String masterIp;//主服务器IP
    private String masterPort;//主服务器端口
    private String secondaryIp;//副服务器IP
    private String secondaryPort;//副服务器端口
    private Integer heartTime;//心跳周期
    private Integer uploadTime;//上传周期
    private String sysTime;//时间校准 1-是  0-否
    private String secret;//加密秘钥
    private String flag;//终端配置 0-初始化1-等待同步 3-等待同步（ip有调整）  2-同步成功
    private String transferMode;//传输模式 1-加密  2-明文
    private String switch1;
    private String switch2;
    private String switch3;
    private String switch4;
    private String remark;
    private String source;
    private Integer organId;

}
